package com.leyou.trade;

import com.leyou.auth.annotation.EnableJwtVerification;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author YYP
 * @date 2021/1/14
 */
@SpringBootApplication(scanBasePackages = {"com.leyou.trade","com.leyou.common.advice"})
@EnableFeignClients({"com.leyou.auth","com.leyou.user.client","com.leyou.item.client"})
@EnableJwtVerification
@MapperScan("com.leyou.trade.mapper")
public class LyTradeApplication {
    public static void main(String[] args) {
        SpringApplication.run(LyTradeApplication.class);
    }
}
